Testing Distributional Properties of Context-Free Grammars
نویسنده
چکیده
Recent algorithms for distributional learning of context-free grammars can learn all languages defined by grammars that have certain distributional properties: the finite kernel property (fkp) and the finite context property (fcp). In this paper we present some algorithms for approximately determining whether a given grammar has one of these properties. We then present the results of some experiments that indicate that with randomly generated context-free grammars in Chomsky normal form, which generate infinite languages and are derivationally sparse, nearly all grammars have the finite kernel property, whereas the finite context property is much less common.
منابع مشابه
Grammatical Inference of some Probabilistic Context-Free Grammars from Positive Data using Minimum Satisfiability
Recently, different theoretical learning results have been found for a variety of context-free grammar subclasses through the use of distributional learning (Clark, 2010b). However, these results are still not extended to probabilistic grammars. In this work, we give a practical algorithm, with some proven properties, that learns a subclass of probabilistic grammars from positive data. A minimu...
متن کاملAn Attempt Towards Learning Semantics: Distributional Learning of IO Context-Free Tree Grammars
Solid techniques based on distributional learning have been developed targeting rich subclasses of CFGs and their extensions including linear context-free tree grammars. Along this line we propose a learning algorithm for some subclasses of IO contextfree tree grammars.
متن کاملGeneral Perspective on Distributionally Learnable Classes
Several algorithms have been proposed to learn different subclasses of context-free grammars based on the idea generically called distributional learning. Those techniques have been applied to many formalisms richer than context-free grammars like multiple context-free grammars, simple contextfree tree grammars and others. The learning algorithms for those different formalisms are actually quit...
متن کاملLR(k) Testing is Average Case Complete
In this note, we show that LR(k) testing of context-free grammars with respect to random instances is many-one complete for DistNP (Distributional NP). The same result holds for testing whether a context-free grammar is LL(k), strong LL(k), SLR(k), LC(k) or strong LC(k), respectively.
متن کاملProbabilistic learnability of context-free grammars with basic distributional properties from positive examples
Article history: Available online xxxx
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016